﻿using System;

namespace MessagePack.Decoders
{
	// Token: 0x020000F1 RID: 241
	internal class ReadNextStr16 : IReadNextDecoder
	{
		// Token: 0x06000372 RID: 882 RVA: 0x0000C802 File Offset: 0x0000AC02
		private ReadNextStr16()
		{
		}

		// Token: 0x06000373 RID: 883 RVA: 0x0000C80C File Offset: 0x0000AC0C
		public int Read(byte[] bytes, int offset)
		{
			int num = (int)bytes[offset + 1] << 8 | (int)bytes[offset + 2];
			return num + 3;
		}

		// Token: 0x0400010A RID: 266
		internal static readonly IReadNextDecoder Instance = new ReadNextStr16();
	}
}
